package com.trmp.base.musterSiteMng.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;

public class MusterSiteInfoDaoImpl
{
	@PersistenceContext
	protected EntityManager em;
	
	public void delAll(String insurances)
	{
		String sql="delete from T_BASE_MUSTERSITE where SITEID in("+ insurances +")";
		
		Query query = em.createNativeQuery(sql);
		query.executeUpdate();
	
	}
}
